package com.kk.goGame.utils;
/*
 *@author KK on 2023.02.17 15:47
 */

import java.io.IOException;
import java.io.InputStream;
import java.util.Properties;

public class ProsUtis {
    public static Object getvalue(String key){
        Properties pros = new Properties();
        InputStream is = CodeUtils.class.getClassLoader().getResourceAsStream("application.properties");
        try {
            pros.load(is);
        } catch (IOException e) {
            e.printStackTrace();
        }
        return pros.getProperty("verificationCode.ttl");
    }
}
